package com.wlk.pojo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.sql.Timestamp;

@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("t_grant_record")
public class GrantRecord {
    // 授权记录id
    @TableId(value = "grant_record_id")
    private Integer grantRecordId;

    // 部门代码
    @TableField(value = "dep_code")
    private String depCode;

    // 项目代码
    @TableField(value = "pro_code")
    private String proCode;

    // 被授权人id
    @TableField(value = "granted_id")
    private Integer grantedId;

    // 授权操作时间
    @TableField(value = "create_at")
    private Timestamp createAt;


}
